<?php $this->headLink()->appendStylesheet($this->dirCss.'/employer-message.css'); ?>
<div id="employer-message-wrapper">
    
    <div id="employer-message-content-wrapper">
        
        <div id="employer-message-content">
        
            <span class="employer-big-title">THAMZA MESSAGE</span>
            
            <span class="employer-message"><?php echo @$this->message['message']; ?></span>
            
            <span class="employer-navigation">
				<?php if($this->redirect['redirect']) {?>
                	&nbsp; You will automatic redirect to home page after <span id="time" style="color:blue"></span> seconds.<br/><br/>
                <?php }?>
                You can <a href="<?php echo $this->message['url'] ?>">click here</a> to go to homepage
            </span>
        </div><!-- END #employer-message-content -->
    </div><!-- END #employer-message-content-wrapper -->
</div><!-- END #employer-message-wrapper -->



<script type="text/javascript">
	function change(time){
		if(time == -1)
			window.location = "<?php echo $this->message['url'] ?>";
		else{
			$("#time").html(time);
			time = time-1;
			setTimeout("change("+time+")",1000);
		}
	}
	<?php if($this->redirect['redirect']){ ?>
			change(10);
	<?php } ?>
</script>
